import Vue from 'vue'
import Router from 'vue-router'
import Home from './components/Home'
import MxGraph from './components/MxGraph'
import test from './components/test'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      name:'home',
      component:Home
    },
    {
      path:'/mxGraph',
      name:'mxGraph',
      component:MxGraph
    },
    {
      path:'/test',
      name:'test',
      component:test
    }
  ]
})
